echo 'shutdown docker-compose'
docker-compose -p sjw_department_control down
if [ "$(docker images | grep sjw_department_control)" != "" ];then
  echo 'remove old docker image'
  docker rmi $(docker images | grep sjw_department_control | awk '{print $3}')
fi
echo 'docker-compose up'
docker-compose -p sjw_department_control --compatibility up --build -d
